package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

//@Data
//@TableName("sys_document_category")
public class SysDocumentCategory extends BaseEntity {
    private static final long serialVersionUID = 1L;
    
//    @TableId(value = "category_id", type = IdType.AUTO)
    private Long categoryId;
    
    private Long parentId;
    private String ancestors;
    private String categoryName;
    private Integer orderNum;
    private String status;
    private List<SysDocumentCategory> children;

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getAncestors() {
        return ancestors;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<SysDocumentCategory> getChildren() {
        return children;
    }

    public void setChildren(List<SysDocumentCategory> children) {
        this.children = children;
    }
}